package com.ohuang.util_h.replaceActivity;

import android.os.IBinder;

import java.util.List;

 class BRClientTransaction {

    String className="android.app.servertransaction.ClientTransaction";
    Object mClientTransaction;
    public BRClientTransaction(Object clientTransaction){
        mClientTransaction=clientTransaction;
    }
    public static BRClientTransaction get(Object clientTransaction){
         return new BRClientTransaction(clientTransaction);
    }

    public List<Object> mActivityCallbacks(){
        return (List<Object>) RefInvoke.getFieldOjbect(className,mClientTransaction,"mActivityCallbacks");
    }
    public List<Object> mTransactionItems(){
        return (List<Object>) RefInvoke.getFieldOjbect(className,mClientTransaction,"mActivityCallbacks");
    }

    public IBinder mActivityToken(){
        return (IBinder) RefInvoke.getFieldOjbect(className,mClientTransaction,"mActivityToken");
    }


    public Object mLifecycleStateRequest(){
        return RefInvoke.getFieldOjbect(className,mClientTransaction,"mLifecycleStateRequest");
    }
}
